import request from '@/utils/request'
import Qs from 'qs'
// 
export function getList (params) {
  return request({
    url: '/api/franchisee/admin/queryFranchisee',
    method: 'post',
    params
  })
}

//新增管理员呢

export function updateFranchisee (data) {
  return request({
    method:'post',
    data:Qs.stringify(data),
    url: '/api/franchisee/admin/updateFranchisee',
    headers:{'content-type': 'application/x-www-form-urlencoded'}
  })
}





